package booroo.basic;

public class J01_FoodNara {

	public static void main(String[] args) {
		String title, soju, chicken, liner, today;
		int sojup, sojun, chickenp, chickenn, tottax, vat, tot, rmo, change;
		
		title="[음식나라]";
		liner="----------------------";
		sojup=3000;
		sojun=2;
		chickenp=12000;
		chickenn=1;
		tot=(sojup*sojun)+(chickenp*chickenn);
		tottax=(int) (tot*0.9);
		vat=(int) (tot*0.1);
		rmo=50000;
		change=rmo-tot;
		today="2014. 07. 07 14:35:24";
		System.out.println(title);
		System.out.println(liner);
		System.out.print("소주\t"+sojun);
		System.out.println("\t"+sojup*sojun);
		System.out.print("너나치킨\t"+chickenn);
		System.out.println("\t"+chickenp*chickenn);
		System.out.println(liner);
		System.out.print("과세합계");
		System.out.println("\t\t"+tottax);
		System.out.print("부가세");
		System.out.println("\t\t"+vat);
		System.out.println(liner);
		System.out.print("총합계");
		System.out.println("\t\t"+tot);
		System.out.print("받은금액");
		System.out.println("\t\t"+rmo);
		System.out.print("잔돈");
		System.out.println("\t\t"+change);
		System.out.println(liner);
		System.out.println(today);
	}

}
